package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SMyKillEvilGetInfo extends Object implements IMessageBase
    {
        public var getHuman:int;
        public var getEarth:int;
        public var getHeaven:int;
        public var getGod:int;
        public var canGetCount:int;
        public var executeKillEvilType:int;
        public const _type:int = 12101;
        public static var _regist:SMyKillEvilGetInfo = new SMyKillEvilGetInfo(true);

        public function SMyKillEvilGetInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SMyKillEvilGetInfo();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.getHuman);
            param1.writeInt(this.getEarth);
            param1.writeInt(this.getHeaven);
            param1.writeInt(this.getGod);
            param1.writeInt(this.canGetCount);
            param1.writeInt(this.executeKillEvilType);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.getHuman = param1.readInt();
            this.getEarth = param1.readInt();
            this.getHeaven = param1.readInt();
            this.getGod = param1.readInt();
            this.canGetCount = param1.readInt();
            this.executeKillEvilType = param1.readInt();
            
        }

    }
}
